import {useState} from "react"
export default function Dialog(props){
     let {type} = props;
     console.log(type)
    return type?(
        <div className={}>
            dialog
        </div>
    ):''
}